package com.gzy.rpsm_property.mapper;

import com.gzy.rpsm_property.pojo.Room;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface RoomMapper {
    @Select("select room_id,room_code from room where room_floor_id = #{id}")
    List<Room> roomsOfFloor(Integer roomId);
}
